package com.wei.file.serve;


import com.wei.file.model.R;
import com.wei.file.model.RecycleFileModel;

import java.util.List;

/**
 * 回收站服务
 */
public interface RecycleService {


    /**
     * 加入回收站
     * @return
     */
    R addRecycle(String fillPath,String path);

    /**
     * 恢复文件
     * @return
     */
    R withdrawFile(String filePath);


    boolean existsFile(String path);
    boolean existsAbsFile(String fillPath);


    List<RecycleFileModel> getList();

}
